﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SisVetDAO
{
    public abstract class DAOHistoriaClinicaFactory
    {
        public abstract IHistoriaClinicaDAO getHistoriaClinica();

        public static DAOHistoriaClinicaFactory getDAOFactory(string db)
        {
            db = "mysql";
            switch (db)
            {
                case "mysql":
                    return new MySqlHistoriaClinicaFactory();
                //case "postgre":
                //    return new postgrefactory();
                //case "oracle":
                //return new oraclefactory();
            }
            return null;
        }
    }
}
